<script setup lang="ts">
	import { onLaunch, onShow, onHide } from '@dcloudio/uni-app';
	import { useAuthStore } from '@/store/modules/auth';
	// import { removeInterceptor, setupInterceptors } from '@/utils/interceptors';
	import { useRouterStore } from '@/store/modules/router';
	onLaunch(() => {

		// console.log('App Launch');
		// removeIntercepto();
		// setupInterceptors();
		// const appStore = useRouterStore();
		// appStore.initialize();
		//电池栏高度
		// const authStore = useAuthStore();
		// const systemInfo = uni.getSystemInfoSync();
		// const statusBarHeight = systemInfo.statusBarHeight;
		// authStore.setHeight(statusBarHeight + 34);
	});
	onShow(() => {
		console.log('App Show');
	});
	onHide(() => {
		console.log('App Hide');
	});
</script>
<style lang="scss">
@import '@/assets/main.scss';
@import 'uview-plus/index.scss';
button{
	width: auto !important;
}
</style>
